package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.pubinfo.passbook.common.entity.TSystemRole;
import com.pubinfo.passbook.common.entity.TWiteoffInstance;
import com.pubinfo.passbook.common.model.bo.valueAddedTax.OutParamItem;
import com.pubinfo.passbook.common.model.bo.witeoff.QueryWiteoffInstanceParam;
import com.pubinfo.passbook.common.model.http.eip.UserInfo;
import com.pubinfo.passbook.common.model.vo.base.MyPage;
import org.apache.ibatis.annotations.Param;

public interface TWiteoffInstanceService extends IService<TWiteoffInstance> {
  MyPage<TWiteoffInstance> QueryTwiteoffInstance(QueryWiteoffInstanceParam instanceParam, TSystemRole role, UserInfo userInfo);
  

  void cancelClaimFeedOrClaimFeedback() throws UnirestException;
  
  TWiteoffInstance getTwiteoffInstanceById(String id, TSystemRole systemRole, String jthrLoginName);

  TWiteoffInstance getTwiteoffInstanceByOtherSystemMainId(String otherSystemMainId);

  void cancelClaimFeed(OutParamItem outParamItem);

  void claimFeedback(OutParamItem outParamItem);


}
